<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
   //request 域对象中存入信息
   request.setAttribute("name", "张三");
%>

<h1>1.脚本方式</h1>
<%
    out.print(request.getAttribute("name"));
%>

<h1>2.el表达式</h1>
${name}

<h1>3.JSTL标签</h1>
<c:out value="${name}" />


</body>
</html>